Integrand size = 15, antiderivative size = 27 \[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=\frac {\log (\tan (a+b x))}{b}+\frac {\tan ^2(a+b x)}{2 b} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2700, 14} \[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=\frac {\tan ^2(a+b x)}{2 b}+\frac {\log (\tan (a+b x))}{b} \]
[In]
[Out]
Rule 14
Rule 2700
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1+x^2}{x} \, dx,x,\tan (a+b x)\right )}{b} \\ & = \frac {\text {Subst}\left (\int \left (\frac {1}{x}+x\right ) \, dx,x,\tan (a+b x)\right )}{b} \\ & = \frac {\log (\tan (a+b x))}{b}+\frac {\tan ^2(a+b x)}{2 b} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.44 \[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=-\frac {\log (\cos (a+b x))}{b}+\frac {\log (\sin (a+b x))}{b}+\frac {\sec ^2(a+b x)}{2 b} \]
[In]
[Out]
Time = 0.16 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.85
method | result | size |
derivativedivides | \(\frac {\frac {1}{2 \cos \left (b x +a \right )^{2}}+\ln \left (\tan \left (b x +a \right )\right )}{b}\) | \(23\) |
default | \(\frac {\frac {1}{2 \cos \left (b x +a \right )^{2}}+\ln \left (\tan \left (b x +a \right )\right )}{b}\) | \(23\) |
risch | \(\frac {2 \,{\mathrm e}^{2 i \left (b x +a \right )}}{b \left ({\mathrm e}^{2 i \left (b x +a \right )}+1\right )^{2}}+\frac {\ln \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )}{b}-\frac {\ln \left ({\mathrm e}^{2 i \left (b x +a \right )}+1\right )}{b}\) | \(62\) |
norman | \(\frac {2 \left (\tan ^{2}\left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{b \left (\tan ^{2}\left (\frac {b x}{2}+\frac {a}{2}\right )-1\right )^{2}}+\frac {\ln \left (\tan \left (\frac {b x}{2}+\frac {a}{2}\right )\right )}{b}-\frac {\ln \left (\tan \left (\frac {b x}{2}+\frac {a}{2}\right )-1\right )}{b}-\frac {\ln \left (\tan \left (\frac {b x}{2}+\frac {a}{2}\right )+1\right )}{b}\) | \(81\) |
parallelrisch | \(\frac {\left (-2 \cos \left (2 b x +2 a \right )-2\right ) \ln \left (\tan \left (\frac {b x}{2}+\frac {a}{2}\right )-1\right )+\left (-2 \cos \left (2 b x +2 a \right )-2\right ) \ln \left (\tan \left (\frac {b x}{2}+\frac {a}{2}\right )+1\right )+\left (2 \cos \left (2 b x +2 a \right )+2\right ) \ln \left (\tan \left (\frac {b x}{2}+\frac {a}{2}\right )\right )-\cos \left (2 b x +2 a \right )+1}{2 b \left (1+\cos \left (2 b x +2 a \right )\right )}\) | \(108\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 56 vs. \(2 (25) = 50\).
Time = 0.30 (sec) , antiderivative size = 56, normalized size of antiderivative = 2.07 \[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=-\frac {\cos \left (b x + a\right )^{2} \log \left (\cos \left (b x + a\right )^{2}\right ) - \cos \left (b x + a\right )^{2} \log \left (-\frac {1}{4} \, \cos \left (b x + a\right )^{2} + \frac {1}{4}\right ) - 1}{2 \, b \cos \left (b x + a\right )^{2}} \]
[In]
[Out]
\[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=\int \frac {\sec ^{3}{\left (a + b x \right )}}{\sin {\left (a + b x \right )}}\, dx \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.48 \[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=-\frac {\frac {1}{\sin \left (b x + a\right )^{2} - 1} + \log \left (\sin \left (b x + a\right )^{2} - 1\right ) - \log \left (\sin \left (b x + a\right )^{2}\right )}{2 \, b} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 124 vs. \(2 (25) = 50\).
Time = 0.32 (sec) , antiderivative size = 124, normalized size of antiderivative = 4.59 \[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=\frac {\frac {\frac {2 \, {\left (\cos \left (b x + a\right ) - 1\right )}}{\cos \left (b x + a\right ) + 1} + \frac {3 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{2}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{2}} + 3}{{\left (\frac {\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} + 1\right )}^{2}} + \log \left (\frac {{\left | -\cos \left (b x + a\right ) + 1 \right |}}{{\left | \cos \left (b x + a\right ) + 1 \right |}}\right ) - 2 \, \log \left ({\left | -\frac {\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} - 1 \right |}\right )}{2 \, b} \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.30 \[ \int \csc (a+b x) \sec ^3(a+b x) \, dx=\frac {\frac {\ln \left ({\sin \left (a+b\,x\right )}^2\right )}{2}-\ln \left (\cos \left (a+b\,x\right )\right )+\frac {1}{2\,{\cos \left (a+b\,x\right )}^2}}{b} \]
[In]
[Out]